﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XSTDZ.ERP.Core.Generator;

namespace XSTDZ.ERP.Domain.Models
{
    /// <summary>
    /// 退货单
    /// </summary>
    public partial class ReturnBillDetail
    {
        public ReturnBillDetail InitReturnBillDetail()
        {
            if (this.Id.Equals(Guid.Empty))
            {
                this.Id = (Guid)new SequentialIdentityGenerator().Next;
            }
            this.Deleted = 0;

            return this;
        }
    }
}
